# !/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2021/4/13 18:03
# @Author  : qiaoc
# @File    : ConfigEum.py
# @Desc    : 配置类

from enum import Enum

class ConfigEnum(Enum):

    ocr_template_url = 'http://10.221.153.27:82/v1/document/ocr/template'
    ocr_table_url = 'http://10.221.153.27:82/v1/mage/ocr/table'
    # OCR 调用API key
    ocr_api_pubkey = 'AeWJYik1s0LfhjLqj0Lz13gi'
    ocr_app_secretkey = 'IHYnGgWByeujgKFPLF49MijVU3eYfmjY'
    # 呼和浩特
    ocr_hs_api_pubkey = 'B0oISvHHyacg0fDr8u74F0re'
    ocr_hs_app_secretkey = '5OT5jTiNXiSJUp8lvl2PX5ob5RKICD6u'

    # 锡盟
    ocr_xm_api_pubkey = 'JpdTvN1t1jw3Xdsbyufde3MI'
    ocr_xm_app_secretkey = 'MfRreuk6nOCdpQWUloxX0pa53oGBQL4V'

    # 印章识别
    stamp_authorization = 'TIAxRcmtmRPLQjdgC8zKBPnYGf4Ih63M3-tdkw'
    stamp_url = ' http://10.221.167.102:83/ocr/predict'

    #mysql
    host = '10.221.167.85'
    sql_db = 'nf_analysis'
    user = 'root'
    password = '123456'
    port = 3306

    # host = '36.133.53.205'
    # sql_db = 'nf-analysis'
    # user = 'root'
    # password = 'root600485.'
    # port = 53306


